package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.AbnormalHighPriceOrderMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.AbnormalHighPriceOrder;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.AbnormalHighPriceOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AbnormalHighPriceOrderServiceImpl implements AbnormalHighPriceOrderService {

    @Autowired
    private AbnormalHighPriceOrderMapper abnormalHighPriceOrderMapper;

    @Override
    public List<AbnormalHighPriceOrder> selectAll() {
        return abnormalHighPriceOrderMapper.selectAll();
    }

    @Override
    public int insert(AbnormalHighPriceOrder abnormalHighPriceOrder) {
        return abnormalHighPriceOrderMapper.insert(abnormalHighPriceOrder);
    }
}
